projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3296453
)
(decode_mode_spec): In the `L' case,
author
Richard M. Stallman
<rms@gnu.org>
Sat, 26 Oct 1996 16:00:39 +0000
(16:00 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 26 Oct 1996 16:00:39 +0000
(16:00 +0000)
remove a buffer from base_line_pos if window has switched buffers.
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index c150277ac3d8f4a30d0ca1c836f0a9a6b9e94753..dc1148ecbaf1a4c023eaea47231eb2829db12e69 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-3759,6
+3759,9
@@
decode_mode_spec (w, c, spec_width, maxwidth)
don't forget that too fast. */
if (EQ (w->base_line_pos, w->buffer))
goto no_value;
+ /* But do forget it, if the window shows a different buffer now. */
+ else if (BUFFERP (w->base_line_pos))
+ w->base_line_pos = Qnil;
/* If the buffer is very big, don't waste time. */
if (BUF_ZV (b) - BUF_BEGV (b) > line_number_display_limit)